Skip to content

Corrected documentation for StringUtils.abbreviate() - #343

Merged
slachiewicz merged 2 commits into
apache:masterfrom
phymod0:master
Feb 6, 2026
Merged

Corrected documentation for StringUtils.abbreviate()#343
slachiewicz merged 2 commits into
apache:masterfrom
phymod0:master

Conversation

@phymod0

@phymod0 phymod0 commented Aug 20, 2025

Copy link
Copy Markdown
Contributor

Correct documentation for the case in which the length of str is equal to max

* <p>Turn "Now is the time for all good men" into "Now is the time for..."</p>
* <p>Specifically:</p>
* <p>If str is less than max characters long, return it.
* <p>If str is no greater than max characters long, return it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about "less than or equal to"?

@slachiewicz
slachiewicz merged commit 4f5af74 into apache:master Feb 6, 2026
20 checks passed
@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

@slachiewicz Please assign appropriate label to PR according to the type of change.

@github-actions github-actions Bot added this to the 3.5.0 milestone Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants